package org.wang.generalcode.modules.exam.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.wang.generalcode.modules.exam.pojo.entity.GradeInfoEntity;
import org.wang.generalcode.modules.exam.pojo.param.GradeInfoParams;
import org.wang.generalcode.modules.exam.pojo.vo.GradeInfoVO;

import java.util.List;

/**
 * 年级信息表Mapper接口
 *
 * @author wz
 * @since 2024-11-20
 */
@Mapper
public interface GradeInfoMapper extends BaseMapper<GradeInfoEntity> {

    /**
     * 获取年级信息表分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    List<GradeInfoVO> getGradeInfoPage(IPage<GradeInfoVO> page, @Param("params") GradeInfoParams queryParams);

    List<GradeInfoVO> getGradeInfoList(@Param("params") GradeInfoParams queryParams);
}
